package com.zcg.gasmanager.model;

import static org.junit.Assert.*;

import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.IOException;

import org.jfree.chart.ChartFactory;
import org.jfree.chart.ChartUtilities;
import org.jfree.chart.JFreeChart;
import org.jfree.chart.plot.PlotOrientation;
import org.jfree.data.category.CategoryDataset;
import org.jfree.data.general.PieDataset;
import org.junit.AfterClass;
import org.junit.BeforeClass;
import org.junit.Test;

import com.zcg.gasmanager.dao.impl.UserDaoImpl;
import com.zcg.gasmanager.service.impl.StatisticalServiceImpl;

public class JfreeChart {

	@BeforeClass
	public static void setUpBeforeClass() throws Exception {
	}

	@AfterClass
	public static void tearDownAfterClass() throws Exception {
	}

	@Test
	public void test() {
		
		new StatisticalServiceImpl().createFinance();
		
	}

}
